<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" http-equiv="refresh" content="1;url='/insert'">
    <title>插入错误</title>
    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.5/css/bootstrap.min.css" />
    <script src="/webjars/jquery/3.1.1/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
<script>
alert("插入错误，所插入课程已存在与列表中!")
</script>
<body>
<h1 th:bgcolor="red">ERROR!!</h1>
<h1>插入错误，所插入课程已存在与列表中</h1>
</body>
</html>